// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
Vue.config.productionTip = false
import items from '../index/js/data.js';
// import down from '@/assets/js/download-config.js';
/* eslint-disable no-new */
// import Swiper from 'swiper';
import AppComm from '@/assets/js/download';
new Vue({
    el: '#wap',
    data() {
        return {
            platform: items.platform,
            download: dConfig.download,
            newsList: items.wapNewsList
        }
    },
    mounted() {
        new Swiper('.swiper-container', {
            pagination: '.swiper-pagination',
            //    paginationClickable: true,
            autoplay: 2000,
            speed: 300,
        });

    },
    methods: {
        downloadAPP() {
            AppComm.init();
        }
    }
})
